#ifndef SERIALIZEDSHAPE_H
#define SERIALIZEDSHAPE_H

#include <QAbstractGraphicsShapeItem>
#include <QBrush>
#include <QColor>

#include "stringbuilder.h"

class SerializedShape
{
    private:
        int x;
        int y;
        int type;
        int red;
        int green;
        int blue;

    public:
        SerializedShape(QAbstractGraphicsShapeItem *shape);
        SerializedShape(QString serializedShape);
        std::string toString();

        int getX();
        int getY();
        int getType();
        int getRed();
        int getGreen();
        int getBlue();
};

#endif // SERIALIZEDSHAPE_H

